home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 026a / formcode.zip / TESTIMAG.MPG < prev   
Text File  |  1991-11-06  |  1KB  |  32 lines

  1. * This is the template main program
  2. * Upon code generation, it is placed in the file with the .MPG extension.
  3. * From there it is included in the .PRG file along with other generated
  4. * procedures.
  5. * You should modify this main program to add necessary statements for
  6. * opening databases, initializing and increment variables, etc. Make all
  7. * changes to the .MPG File and NOT the .PRG file. Also, after you have
  8. * modified the .MPG file, un-check the "Generate Template Main Program"
  9. * from the File->PageSetup dialog box. This will keep the .MPG file from
  10. * being overwritten by FromCode/Gen
  11.  
  12. SET TALK OFF
  13. * Comment out the next line for debugging.
  14. SET CONSOLE OFF
  15. SET PROCEDURE TO TESTIMAG
  16. DO FCGINIT
  17. SET PRINT ON
  18. DO FCGSTART WITH 1, 0, 2, 4, 300
  19.  
  20. FCGPAGE = 1
  21. DO WHILE FCGPAGE <= 1
  22.     DO FCGFIXOBJ
  23.     DO FCGVAROBJ
  24. *   Do all variable re-assignments, file pointer movements, etc, here.
  25.     ?? chr(12)
  26.     FCGPAGE = FCGPAGE + 1
  27. ENDDO
  28. DO FCGEND
  29. SET PRINT OFF
  30. SET CONSOLE ON
  31. RETURN
  32.